﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace ExportManager
{
    /// <summary>
    /// Interaction logic for dlgExportHistory.xaml
    /// </summary>
    public partial class dlgExportHistory : Window
    {
        CollectionViewSource _exportHistoryViewSource;
        tblExportManager _export;

        public dlgExportHistory(tblExportManager export)
        {
            InitializeComponent();
            _export = export;
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            _exportHistoryViewSource = (CollectionViewSource)FindResource("ExportHistory");
            _exportHistoryViewSource.Source = _export.ExportHistory.ToList();
        }

        private void btnLoad_Click(object sender, RoutedEventArgs e)
        {
        }
    }
}
